473,396 Members | 2,068 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Updateresource API

Hi,
I'm trying to change some of resources within a compiled exe with the
updaterecource API in Visual Basic. But I just can't figure out how I
should do it. Searching the internet didn't help me either.
I hope that some one can provide me some code to help me.

To make it a bit more clear (I hope):
What I'm trying to do is editing some string tables within an exe using
the updateresource API. Resource editing using programs like reshack
isn't difficult but I would like to do the same but than with my own
patch and without using programs like reshack.

Thanks in advance,

Hades
Mar 23 '06 #1
2 1934

Hades wrote:
Hi,
I'm trying to change some of resources within a compiled exe with the
updaterecource API in Visual Basic. But I just can't figure out how I
should do it. Searching the internet didn't help me either.
I hope that some one can provide me some code to help me.

To make it a bit more clear (I hope):
What I'm trying to do is editing some string tables within an exe using
the updateresource API. Resource editing using programs like reshack
isn't difficult but I would like to do the same but than with my own
patch and without using programs like reshack.

Thanks in advance,

Hades


Hades - it would be helpful if you posted your declaration of this API
and some sample code that uses this declaration....

--
Tom Shelton [MVP]

Mar 23 '06 #2
Tom Shelton wrote:
Hades wrote:
Hi,
I'm trying to change some of resources within a compiled exe with the
updaterecource API in Visual Basic. But I just can't figure out how I
should do it. Searching the internet didn't help me either.
I hope that some one can provide me some code to help me.

To make it a bit more clear (I hope):
What I'm trying to do is editing some string tables within an exe using
the updateresource API. Resource editing using programs like reshack
isn't difficult but I would like to do the same but than with my own
patch and without using programs like reshack.

Thanks in advance,

Hades


Hades - it would be helpful if you posted your declaration of this API
and some sample code that uses this declaration....

--
Tom Shelton [MVP]

The problem is that I can't find any sample code in vb on the internet.
I hoped that someone here could provide me with some sample code.
I forgot to add this link to the MSDN information http://tinyurl.com/r89ow.

A code example (not vb) can be found here: http://tinyurl.com/lrj3u

Thanks for your response,

Hades
Mar 24 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Eric | last post by:
I want to use embedded icon resources for my file type associations, but only the app.ico seems to show up when I go to choose the icons in the setup File Types editor. The same thing when I try...
0
by: John Dyer | last post by:
We need to be able to set the version information for .net exe's and dll's after the build has happened. This is so we do not need to check out files that have not changed just to "tweak" the...
0
by: Chester Ragel | last post by:
This question is related with WIN32 API. I'll be pleased if someone can help me on this. I want to get the ID/Name of an icon (default one) which is embedded in a exe/dll file. I can get the...
10
by: tsahiasher | last post by:
hi, i'm trying to use the Win32 API UpdateResource function to add a file to an exe file, but somehow i'm getting a NullReferenceException when i call the function. here is a piece of the code: ...
6
by: Klaatu | last post by:
I've seen plenty of examples of updating a resource using UpdateResource(). Has anyone actually used it to add a new resource? For example, a menu resource. If so, how is it done? I'm not quit...
8
by: Shane Story | last post by:
I would like to embed mutiple icons inside my main exe file so that they can be viewed like Shell32.dll or whatever. Can't figure out how to do this. Sorry if this is in the wrong group. ...
14
by: Nak | last post by:
Hi there, It's probably me being weird more than the function but I'm having problems with it doing as it should. I have a C++ application with 2 resources of custom types, RT_INIFILE @...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.