|
|
K Arsen wrote:
I want to know if it is possible to include DLLs, OCXs with the executable. To avoid the copy of Dlls, OCXx and them registy with each use on a new machine.
Yes, you can include other files within your executable. Search MSDN for RT_RCDATA. Once you have the files in your project's resource table, see here for a brief explanation on how to extract them.
"When I was born I was so surprised that I didn't talk for a year and a half." - Gracie Allen
|
|
|
|
|
Thanks a lot for your awnser .
I 'll explain one more what i need exactlly.
I need to launch an application in a system within i dont have a permission to write,and this application calls some DLLs and OCXs that i must register using (REGSVR32) .
How could i deal with this ??
thanks in advance .
You know What we know so we want to know what you know !!
|
|
|
|
|
K Arsen wrote:
...within i dont have a permission to write...
Are you sure? Temporary files are created/deleted continuously as the user currently logged on. Even the "guest" account would have a "temp" folder in which to store files. Yeah, even those folders can be made read-only, but I would then question how Windows would function if it had no place to store temporary files.
"When I was born I was so surprised that I didn't talk for a year and a half." - Gracie Allen
|
|
|
|
|
Des isch doch voll oifach!!
P.
|
|
|
|
|
Hi
I have developed one simple application in VC++ using ISAPI project.
Is there any one who can guid me how to test that application. Or any link that gives some material on this topic...?
Plz help me...
Amarelia
|
|
|
|
|
There are two types of ISAPI applications. Extensions and filters. Which one did you develop ? some links can be foundhere [^]
There is no spoon.
mail
|
|
|
|
|
I realize that I should work with ODBC for writing a data base program that dont use Access files but I want to know that how can I do this work?
But I want a methode like "Learning VC++ in 21 Days" to writing this program .
Please help me that I can use and write this program.
Thank you alot
|
|
|
|
|
I think the best way would be to use CRecordset if you just wanna use that
[insert witty comment here]
bdiamond
|
|
|
|
|
Majid Shahpouri wrote:
I realize that I should work with ODBC for writing a data base program that dont use Access files...
I use ODBC all the time to work with Access files. Why are you under the impression that you should not?
"When I was born I was so surprised that I didn't talk for a year and a half." - Gracie Allen
|
|
|
|
|
Look out for SQLAllocHandle function and relative in MSDN.
4apai
There're no impossible tasks. There're tasks that required infinite period of execution time.
|
|
|
|
|
Hello,
I find this[^] very usefull...
Multiply it by infinity and take it beyond eternity and you'll still have no idea about what I'm talking about.
|
|
|
|
|
I want to use my .swf file?
|
|
|
|
|
Use it for what ?
What exactly is your question ?
Maximilien Lincourt
Your Head A Splode - Strong Bad
|
|
|
|
|
Install Macromedia Flash Player and use it
ARSALAN MALIK
|
|
|
|
|
You could copy it to a floppy disk, then you could use a pair of scissors to create a summer hat. How about that?...
If you want to play it though, you could open it in a browser that has a Flash add-in.
"After all it's just text at the end of the day. - Colin Davies
"For example, when a VB programmer comes to my house, they may say 'does your pool need cleaning, sir ?' " - Christian Graus
|
|
|
|
|
For list view ctrl, virtual function 'MeasureItem' needs 'DrawItem'. Is there a way to change item height by custom drawing, or WM_NOTIFY message?
Thanks very much.
|
|
|
|
|
Hello everyone,
I have a button created by flash MX,
I want to use this button instead of my
Button in a mfc app.
How?
Best wishes,
Thanks.
|
|
|
|
|
you mean using a bitmap button ?
TOXCCT >>> GEII power
|
|
|
|
|
I have a program which communicates with a GSM modem. I have used non-overlapped communications, so I have two threads, one which reads the port, and other which writes. I also want to use the WaitCommEvent function, to wait in the read thread the arrive of new data. The problem, is that if I want this functions correctly, I must write the command before the read thread come to the WaitCommEvent function. Why???? I could block the read thread befor de WaitCommEvent statement till I write, but if a RING command, for example, arrives at the port, this doesn't realise, so this is not a good solution.
Can somebody help me??
Thanks
|
|
|
|
|
why?
Sometime after compile a dll project, a ".lib" file has been built but sometime it was not built?
Thanks
|
|
|
|
|
I got string like this :"Rassul##Rasul#Yunussov";
And i want to tokenize it to strings : "Rassul" and "Rassul#Yunussov".
I know the function strtok - but it doesnt distinguish "##" from "#".
|
|
|
|
|
you have to get the # character from the string, and test its following character.
i'm about to post an article about something like that (parsing streams)... wait a bit (posted)
here is a like on parsing code : Visual Calc - A new dimension for the desktop calculator[^]
<font style="color:blue;">char</font> ch = str[NextChar++]; <font style="color:green;">
<font style="color:blue;">switch</font> (ch) {
<font style="color:blue;">case</font> <font style="color:purple;">'#'</font>:
{
<font style="color:blue;">char</font> nch = str[NextChar++];
<font style="color:blue;">if</font> (nch == <font style="color:purple;">'#'</font>) {
<font style="color:green;">
}
<font style="color:blue;">else</font> {
<font style="color:green;">
NextChar--;
}
<font style="color:blue;">break</font>;
}
<font style="color:blue;">default</font>:
<font style="color:green;">
}
TOXCCT >>> GEII power
|
|
|
|
|
Perhaps its wiser to choose a different form of formatting your strings. Why use '##' and '#', they already cause problems trying to distinguish them during parsing. How about using '$' and '%' or something like that. '##' and '#' clearly mean different things to you, so why use such similar signs?
Er zit een korstje op mijn aars.
|
|
|
|
|
If you're using MFC, use CString::Find() to find "##".
[insert witty comment here]
bdiamond
|
|
|
|