Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

Problem with standard win dll


2 replies to this topic

OKauhanen

OKauhanen
  • Members
  • 27 posts

Posted 07 May 2001 - 14:41

I have a problem.  I can't get custom actions to work. that are called from a standard windows dll. My dll was built with MSVC 6.0 and it should work fine.  I used the custom action wizard to link in the function. Below is some of my code.

void __stdcall Box(void){
MessageBox(NULL,"BOXTEXT", "BOXCAPTION",MB_APPLMODAL);
}
UINT __stdcall AnotherBox(ULONG value){
MessageBox(NULL,"BOXTEXT", "BOXCAPTION",MB_APPLMODAL);
return 0;
}

I always get an error message like this when I try to build the project:
** Error -3705: Error building CustomAction table

Some options in the custom action wizard:
In-Script Execution: Immediate Execution
Executiion Scheduling: Always Execute

The funny thing is that I get the same message when trying to compile someone else's example code


OKauhanen

OKauhanen
  • Members
  • 27 posts

Posted 14 May 2001 - 12:17

I already solved the problem. I think it was caused by a bug