LNK2001: undefined reference to all the export functions from .def
hi
i am getting link error(s) when i call function(s) from dll, and wondering the cause.
i use the std calling convention and the function(s) from my
dll.h is/are coded as:
#define DLLROUTINE void __stdcall
typedef int MVSDD;
DLLROUTINE mvstestmsdn_DLL(const double gamma, const double omega,...);
In dll.def, i define:
EXPORTS
mvstestmsdn_DLL @12
Eventually from my dll.c, when i call
mvstestmsdn_DLL();
i got error LNK2001:unresolved external symbol mvstestmsdn_DLL
Thanks in advance for any help on this.
I have added as suggested from dll.h
#define DllExport _declspec(dllexport)
typedef int MVSDD;
extern _declspec(dllexport) mvstestmsdn_DLL(const double gamma, const double omega,...);
As a result:
on a positive side i've now got only 10 LNK2019 errors such as
error LNK2019: unresolved external symbol _mvstestmsdn_DLL referenced in function _main
compared to 93 errors LNK2001 from my previous post
Over roughly hundreds of functions, it's a nice improvement.
Running dumpbin/export from cd project directory using the command line outputs:
Microsoft
<R> COFF/PE Dumper Version 12.00.31101.0
Copyright
microsoft Incorporation
Summary
in a nutshell , nothing interesting with dumpbin unless i ve done something wrong
Cheers
Similar Messages
-
My iPod Touch will not play through external speakers when it is docked. It only plays through it's internal speaker. All the other functions on the iPod can be controlled by the external speakers (volume,track, etc). How do I fix this?
I would try in oreder:
- Resetting the iPod:
Press and hold the On/Off Sleep/Wake button and the Home
button at the same time for at least ten seconds, until the Apple logo appears.
- Restoring the iPod via iTunes. First from backup and if problem persists, restore to factory defaults/new iPod. -
All the SQL functions - to use in Discoverer-desktop reporting?
Hi ,
Can anyone tell me where i can find all the SQL functions, <conditional stmts> etc - to use in Discoverer-desktop reporting?.
Thx, SreeHi,
I am not quite sure what you mean. You can see all the functions available when you edit a workbook. Create a calculation and select the functions, your custom functions will be under database functions. Conditions are on the condition tab.
Rod West -
When I use the export function of quicklime (export to iPad,iPhone, Apple TV ... format), nothing append and I have the following error message on the monitor windows, (I'm using quicktime Version 10.4 (833) with OS X Yosemite ):
06/11/2014 22:22:03,507
QuickTime Player[1723]
postExceptionEvent caught non-fatal NSInvalidArgumentException '*** -[NSDictionary initWithObjects:forKeys:]: count of objects (0) differs from count of keys (4)' with backtrace (
0 CoreFoundation 0x00007fff8ac6564c __exceptionPreprocess + 172
1 libobjc.A.dylib 0x00007fff8924f6de objc_exception_throw + 43
2 CoreFoundation 0x00007fff8ab98dcd -[NSDictionary initWithObjects:forKeys:] + 941
3 Foundation 0x00007fff8a6a8bcc -[NSDictionary(NSDictionary) initWithCoder:] + 245
4 Foundation 0x00007fff8a686150 _decodeObjectBinary + 2872
5 Foundation 0x00007fff8a6854a6 _decodeObject + 278
6 Foundation 0x00007fff8a6a9921 -[NSKeyedUnarchiver decodeObjectOfClasses:forKey:] + 173
7 Foundation 0x00007fff8a75f2b4 -[NSError initWithCoder:] + 253
8 Foundation 0x00007fff8a686150 _decodeObjectBinary + 2872
9 Foundation 0x00007fff8a6854a6 _decodeObject + 278
10 Foundation 0x00007fff8a6ab0c9 +[NSKeyedUnarchiver unarchiveObjectWithData:] + 89
11 QuickTime Player 0x000000010dcd8253 QuickTime Player + 758355
12 QuickTime Player 0x000000010dc8981f QuickTime Player + 436255
13 QuickTime Player 0x000000010dc894fb QuickTime Player + 435451
14 QuickTime Player 0x000000010dc6ce48 QuickTime Player + 319048
15 AppKit 0x00007fff93c5d75a __85-[NSDocument runModalSavePanelForSaveOperation:delegate:didSaveSelector:contextInfo:]_block_ invoke1714 + 113
16 AppKit 0x00007fff93c4efca -[NSDocument continueActivityUsingBlock:] + 323
17 AppKit 0x00007fff93c5d5cb __85-[NSDocument runModalSavePanelForSaveOperation:delegate:didSaveSelector:contextInfo:]_block_ invoke_21706 + 458
18 AppKit 0x00007fff93c5d0ec __85-[NSDocument runModalSavePanelForSaveOperation:delegate:didSaveSelector:contextInfo:]_block_ invoke1690 + 1365
19 AppKit 0x00007fff940903b6 -[NSVBSavePanel didEndPanelWithReturnCode:] + 68
20 AppKit 0x00007fff9409323d -[NSVBSavePanel didEndSheet:returnCode:contextInfo:] + 154
21 AppKit 0x00007fff93f718d9 -[NSWindow _endWindowBlockingModalSession:returnCode:] + 315
22 AppKit 0x00007fff9409307c -[NSVBSavePanel observeValueForKeyPath:ofObject:change:context:] + 560
23 Foundation 0x00007fff8a677c73 NSKeyValueNotifyObserver + 382
24 Foundation 0x00007fff8a676e48 NSKeyValueDidChange + 463
25 Foundation 0x00007fff8a67b9ad -[NSObject(NSKeyValueObserverNotification) didChangeValueForKey:] + 118
26 ViewBridge 0x00007fff959cbbd7 -[NSViewBridge nonLocalChangeInProgress:block:] + 382
27 ViewBridge 0x00007fff95a15766 -[NSRemoteViewMarshal exceptionSafeSetRemoteObject:forKey:withReply:] + 275
28 ViewBridge 0x00007fff95a158f1 -[NSRemoteViewMarshal setRemoteObject:forKey:withReply:] + 56
29 CoreFoundation 0x00007fff8ab3e33c __invoking___ + 140
30 CoreFoundation 0x00007fff8ab3e192 -[NSInvocation invoke] + 290
31 ViewBridge 0x00007fff95a1bce3 __deferNSXPCInvocationOntoMainThread_block_invoke + 85
32 ViewBridge 0x00007fff95a1b91e __deferBlockOntoMainThread_block_invoke_2 + 390
33 CoreFoundation 0x00007fff8ab8354c __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 12
34 CoreFoundation 0x00007fff8ab75655 __CFRunLoopDoBlocks + 341
35 CoreFoundation 0x00007fff8ab75196 __CFRunLoopRun + 1814
36 CoreFoundation 0x00007fff8ab74838 CFRunLoopRunSpecific + 296
37 HIToolbox 0x00007fff8cb6f43f RunCurrentEventLoopInMode + 235
38 HIToolbox 0x00007fff8cb6f1ba ReceiveNextEventCommon + 431
39 HIToolbox 0x00007fff8cb6effb _BlockUntilNextEventMatchingListInModeWithFilter + 71
40 AppKit 0x00007fff9383b821 _DPSNextEvent + 964
41 AppKit 0x00007fff9383afd0 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 194
42 AppKit 0x00007fff9382ef73 -[NSApplication run] + 594
43 AppKit 0x00007fff9381a424 NSApplicationMain + 1832
44 libdyld.dylib 0x00007fff8ec845c9 start + 1
timestamp: 22:22:03.507 Thursday 06 November 2014
process/thread/queue: QuickTime Player (1723) / 0x7fff78cd0300 / com.apple.main-thread
code: line 844 of /SourceCache/ViewBridge/ViewBridge-99/ViewBridgeUtilities.m in logCaughtException
#exceptions
06/11/2014 22:22:03,525
com.apple.appkit.xpc.openAndSavePanelService[1748]
remote view failed to set bridge object {
URL = "file:///Users/pascalgros/Documents/Videos%20Maurice%202013/Exports/M2U01020.m4 v";
URLs = (
"file:///Users/pascalgros/Documents/Videos%20Maurice%202013/Exports/M2U01020.m4 v"
index = 1;
result = 1;
} for key most-recent-completion due to Error Domain=com.apple.ViewBridge Code=8 "L’opération n’a pas pu s’achever. (com.apple.ViewBridge erreur 8)." UserInfo=0x61000006ebc0 {com.apple.ViewBridge.error.hint=most-recent-completion, com.apple.ViewBridge.error.description=NSViewBridgeExceptionError}; service call stack was (
0 ViewBridge 0x00007fff959e8b30 -[NSViewServiceMarshal setRemoteObject:forKey:] + 341
1 Foundation 0x00007fff8a677c73 NSKeyValueNotifyObserver + 382
2 Foundation 0x00007fff8a676e48 NSKeyValueDidChange + 463
3 Foundation 0x00007fff8a67b9ad -[NSObject(NSKeyValueObserverNotification) didChangeValueForKey:] + 118
4 com.apple.appkit.xpc.openAndSavePanelService 0x000000010a661407 com.apple.appkit.xpc.openAndSavePanelService + 9223
5 AppKit 0x00007fff93dead5a -[NSSavePanel _dismissModeless:] + 109
6 com.apple.appkit.xpc.openAndSavePanelService 0x000000010a66191c com.apple.appkit.xpc.openAndSavePanelService + 10524
7 AppKit 0x00007fff93ded580 -[NSSavePanel ok:] + 449
8 com.apple.appkit.xpc.openAndSavePanelService 0x000000010a661952 com.apple.appkit.xpc.openAndSavePanelService + 10578
9 libsystem_trace.dylib 0x00007fff8d3ebcd7 _os_activity_initiate + 75
10 AppKit 0x00007fff93a0a5e7 -[NSApplication sendAction:to:from:] + 410
11 AppKit 0x00007fff93a0a410 -[NSControl sendAction:to:] + 86
12 AppKit 0x00007fff93bdedaf __26-[NSCell _sendActionFrom:]_block_invoke + 131
13 libsystem_trace.dylib 0x00007fff8d3ebcd7 _os_activity_initiate + 75
14 AppKit 0x00007fff93a52f2c -[NSCell _sendActionFrom:] + 144
15 AppKit 0x00007fff93bc5ab2 -[NSButtonCell _sendActionFrom:] + 39
16 libsystem_trace.dylib 0x00007fff8d3ebcd7 _os_activity_initiate + 75
17 AppKit 0x00007fff93a6da66 -[NSCell trackMouse:inRect:ofView:untilMouseUp:] + 2731
18 AppKit 0x00007fff93a6ccc1 -[NSButtonCell trackMouse:inRect:ofView:untilMouseUp:] + 491
19 AppKit 0x00007fff93a6c289 -[NSControl mouseDown:] + 714
20 AppKit 0x00007fff93f65fef -[NSWindow _reallySendEvent:] + 12827
21 AppKit 0x00007fff939f065c -[NSWindow sendEvent:] + 368
22 AppKit 0x00007fff939a21e6 -[NSApplication sendEvent:] + 2238
23 ViewBridge 0x00007fff959d18ab -[NSViewServiceApplication sendEventWithoutCatch:withForwarding:] + 652
24 ViewBridge 0x00007fff959d1fbd -[NSViewServiceApplication sendEvent:withForwarding:] + 29
25 AppKit 0x00007fff9382efe8 -[NSApplication run] + 711
26 AppKit 0x00007fff9381a424 NSApplicationMain + 1832
27 libxpc.dylib 0x00007fff88837ef2 _xpc_objc_main + 793
28 libxpc.dylib 0x00007fff88839a9d _parse_sysctl_once + 0
29 ViewBridge 0x00007fff95a20165 xpc_connection_handler + 0
30 ViewBridge 0x00007fff959d4ff7 NSViewServiceApplicationMain + 1892
31 com.apple.appkit.xpc.openAndSavePanelService 0x000000010a665035 main + 208
32 libdyld.dylib 0x00007fff8ec845c9 start + 1
33 ??? 0x0000000000000001 0x0 + 1
timestamp: 22:22:03.525 Thursday 06 November 2014
process/thread/queue: com.apple.appkit.xpc.openAndSavePanelService (1748) / 0x7fff78cd0300 / com.apple.main-thread
code: line 3847 of /SourceCache/ViewBridge/ViewBridge-99/NSViewServiceMarshal.m in __47-[NSViewServiceMarshal setRemoteObject:forKey:]_block_invoke_2
#communications_failureHi,
have you tried to connect on the command line (instead of using R3trans) ?
db2 connect to AE1 user sapae1 using .....
If this works and you have verified that the DB2DB6EKEY is set properly, use dscdb6up to update the password in the password file dscbd6.conf.
Then try again to use R3trans to connect.
Best regards,
Jens -
Purpose of all the below Function Modules?
Hi All,
What is the Purpose of all the below Function Modules?
CALL FUNCTION 'K_REPO_PCA_AUTHORITY_CHECK'
CALL FUNCTION 'K_PCA_RESP_AUTHORITY_CHECK'
CALL FUNCTION 'G_CURRENCY_FROM_CT_GET'
CALL FUNCTION 'GET_CURRENT_YEAR'
CALL FUNCTION 'BDC_OPEN_GROUP'
CALL FUNCTION 'BDC_INSERT'
CALL FUNCTION 'MESSAGE_TEXT_BUILD'
Akshitha.Hi,,
G_Buffer_ReSET-->Deleting Buffer in Set Manager
G_SET_ENCRYPT_SETID-->Conversion of Combination of Characteristics in a Set ID
G_SET_GET_INFO-->Checks whether Set exists and Provides Information about Set
Reward IF useful -
How to disable/enable the export function?
Hi,
I created a customized form from template and tried to disable the export function in the menu(File->Export).
How can i do for this?
Thanks and best regards,
Zhxiang.HI,
If you are creating a e-business form from standard template and if your block is multi record block, then the Export option is automatically enabled. -
Export or transport all the RFC destination from one system to another syst
Hi
Is there any method to Export or transport all the RFC destination from one system to another systemHi,
the information is stored in table rfcdes.But there are also some other RFC*-tables which have some relations. Nevertheless the RFC-connectons will possibly not work anymore in the new system(depending on the release your systems are), as the passwords are stored in the Sec store with system-dependent keys.
b.rgds, Bernhard -
How to invoke the exported function of odbc32.dll
Hi,
I am unable to find the dll (SQLAllocHandle.dll) in our system. Its mentioned that the ‘SQLAllocHandle’ is one of the exported function of odbc32.dll
I want to find out how to invoke this exported function and make use of the same in our system?
Regards,
JayYour question leads me to believe you're not sure what you're asking.
SQLAllocHandle is an ODBC api call, and you use it in your ODBC API program, the same way you use other ODBC api calls.
Here's an example of a simple ODBC API program that uses SQLAllocHandle.
Hope it helps,
Greg
#include "windows.h"
#include "stdio.h"
#include "sql.h"
#include "sqlext.h"
void GetSQLError();
#define checkforerrors if (rc!=SQL_SUCCESS){GetSQLError();exit(1);}
static HENV henv;
static HDBC hdbc;
void main(int argc, char *argv[])
SQLRETURN rc=0;
SQLCHAR* uid="SCOTT";
SQLCHAR* pwd="tiger";
SQLCHAR* dsn="orcl32";
rc = SQLAllocHandle(SQL_HANDLE_ENV,SQL_NULL_HANDLE,&henv);checkforerrors
rc = SQLSetEnvAttr(henv, SQL_ATTR_ODBC_VERSION,(SQLPOINTER)SQL_OV_ODBC3,0);checkforerrors
rc = SQLAllocHandle(SQL_HANDLE_DBC, henv, &hdbc);checkforerrors
rc = SQLConnect(hdbc, dsn, (SWORD)strlen(dsn), uid,(SWORD)strlen(uid),pwd,(SWORD)strlen(pwd));checkforerrors
printf("connected\n");
rc = SQLDisconnect(hdbc);checkforerrors
rc = SQLFreeConnect(hdbc);checkforerrors
rc = SQLFreeEnv(henv);checkforerrors
void GetSQLError()
long llDbErrCd = 0;
short llRetMsgLen = 0;
char lszSqlErrMsg[255];
char lszSqlMsg[255];
SQLError(henv,hdbc,0,(SQLCHAR*) lszSqlErrMsg,&llDbErrCd,(SQLCHAR*) lszSqlMsg,255,&llRetMsgLen);
printf(lszSqlErrMsg);
printf(lszSqlMsg);
} -
Latest update of Firefox is REALLY slow. Is it just all the extra functionality that has been added or is there a button I need to press to make it the same speed as it use to be? I'll have to start usin safari again as this isn't funny anymore
Can i retro grade back to the last version?uninstalled firefox ....deleted all files still remaining under mozilla firefox directory in program files ... to avoid having to reprogram all my settings, reisntall all addons as well .. I did not remove anything from mozilla firefox that is stored in either appdata or under the windows users directory (if any)
... the as suggested reinstalled the latest version of the firefox browser using the link you provided in the email ..; tested and several issues still remain present and unresolved ....
so please this is urgent or I will have to jump browsers and start using chrome .. because we work 14 hours a day 6 (sometimes 7) days a week, to get ready for the launch of our newest venture and we cannot lose that much days on browser related issues ... so please instead of putting me through week long step process .. of do this .. do that .. can you please actually look into the issue from your end .. I use firefox for so many, many years thta I deserve this kind of support .. thnx Robert -
How to use the pps function from JCOP?
Hi
I'm trying to use the pps function from JCTerminal (JCOP API: [url http://www.cs.ru.nl/~woj/jcopapi/com/ibm/jc/JCTerminal.html#pps(int, int)]pps function ) to connect my client to a virtual card with a specific protocol (T=0).
But I always got the error: "Protocol and parameter selection not supported by this terminal!"
I've tried to make an ATR that support both protocol : [url http://smartcard-atr.appspot.com/parse?ATR=3b909580811fc7dc]3B 90 95 80 81 1F C7 DC.
I really don't know what value to put in the second parameter (baud rate), I've tried with 150000, which is in the range of the ATR but I'm not sure this is correct. And I could't find any example of it.
I'm also not sure where to put the pps command, the specification say directly after a reset, so I tried this implementation:
System.out.print("Start");
readers = TerminalFactory.getDefault().terminals().list(State.CARD_PRESENT);
//If no readers has a card it ends the process
if(readers.isEmpty()){
System.out.println("\nNo card in the reader...");
return;
System.out.println("\nReader Type: "+readers.get(0).toString());
term = (PCSCJCTerminal)JCTerminal.getInstance("PCSC", readers.get(0).toString().substring(15));
term.open();
System.out.println("\nTerminal opened");
//Getting the ATR
atr = new ATR(term.waitForCard(2000));
try {
term.pps(JCTerminal.PROTOCOL_T0, (int)150000);
} catch (Exception e) {
e.printStackTrace();
System.out.println("ATR: "+toHex(atr.getBytes()));
//sending a data 11223344
System.out.println("\nsending data: 11223344");
byte[] responsesend = term.send(0,cmdsend,0,cmdsend.length);
System.out.println("Response data is:" + toHex(responsesend));
//close terminal
term.close();
System.out.println("\nTerminal closed");I've got this output on the console:
<font size="2">StartReader Type: PC/SC terminal Virtual CAD Reader 0
Terminal opened
ATR: 3b 90 95 90 00 81 1f c7 cc
sending data: 11223344
<font color="red">Protocol and parameter selection not supported by this terminal!</font>
at com.ibm.jc.JCTerminal.pps(Unknown Source)
at com.test.essai.main(essai.java:46)
</font>>
And If I take a look at the data exchanged with the card:
<font size="2">Running in Virtual Card mode...
ATR: 3B909580811FC7DC
Waiting for event (power: off, protocol: unknown/undefined)...
Waiting for event (power: off, protocol: unknown/undefined)...
Raw event data: 01
Event: VCAD_EC_POWER_ON (0x01)
Reply: VCAD_SC_OK (0x00) (in reply to VCAD_EC_POWER_ON) ATR: 3b909580811fc7dc
Raw reply data: 003b909580811fc7dc
Sending reply...
Waiting for event (power: on, protocol: unknown/undefined)...
Waiting for event (power: on, protocol: unknown/undefined)...
Raw event data: 06ff11957b
Event: VCAD_EC_EXCHANGE_TPDU (0x06) C-TPDU: ff11957b
Accepting any PPS request parameters: Protocol: t=1; FI=9, DI=5
Reply: VCAD_SC_OK (0x00) (in reply to VCAD_EC_EXCHANGE_TPDU) R-TPDU: ff11957b
Raw reply data: 00ff11957b
Sending reply...
</font>>
This (above) is the PPS command but not from the PPS function, it is always sent with protocol T=1
<font size="2">Waiting for event (power: on, protocol: t=1)...
Raw event data: 0501
Event: VCAD_EC_SET_PROTOCOL (0x05) Protocol: t=1
Reply: VCAD_SC_OK (0x00) (in reply to VCAD_EC_SET_PROTOCOL)
Raw reply data: 00
Sending reply...
Waiting for event (power: on, protocol: t=1)...
Raw event data: 0600c10120e0
Event: VCAD_EC_EXCHANGE_TPDU (0x06) C-TPDU: 00c10120e0
Handling protocol-specific command...
Protocol block:
NAD: 0x00
PCB: 0xc1 (T1_S_BLOCK); S-Block type: T1_SBT_IFS_REQ
LEN: 1
INF:
IFS: 20
EDC: 0xe0
Changing IFS(other) from 32 to 32
Reply: VCAD_SC_OK (0x00) (in reply to VCAD_EC_EXCHANGE_TPDU) R-TPDU: 00e10120c0
Raw reply data: 0000e10120c0
Sending reply...
Waiting for event (power: on, protocol: t=1)...
Raw event data: 0600001300a404000d54657374436c69656e7441707000f0
Event: VCAD_EC_EXCHANGE_TPDU (0x06) C-TPDU: 00001300a404000d54657374436c69656e74
41707000f0
Processing app. command...
App. block:
NAD: 0x00
PCB: 0x00 (T1_I_BLOCK); Seq. #: 0; More data: 0
LEN: 13
INF:
00a404000d54657374436c69656e7441707000
EDC: 0xf0
cmd name: N/A (class #4)
cmd: 00a40400 0d 54657374436c69656e74417070 70
Responding with the reversed command data, SW is hardcoded to 90<INS>
rsp: 707041746e65696c4374736554 90a4
Reply: VCAD_SC_OK (0x00) (in reply to VCAD_EC_EXCHANGE_TPDU) R-TPDU: 00000f70704
1746e65696c437473655490a475
Raw reply data: 0000000f707041746e65696c437473655490a475
Sending reply...
Waiting for event (power: on, protocol: t=1)...
Raw event data: 060040041122334400
Event: VCAD_EC_EXCHANGE_TPDU (0x06) C-TPDU: 0040041122334400
Processing app. command...
App. block:
NAD: 0x00
PCB: 0x40 (T1_I_BLOCK); Seq. #: 1; More data: 0
LEN: 4
INF:
11223344
EDC: 0x00
cmd name: N/A (class #1)
cmd: 11223344
Responding with the reversed command data, SW is hardcoded to 90<INS>
rsp: 9022
Reply: VCAD_SC_OK (0x00) (in reply to VCAD_EC_EXCHANGE_TPDU) R-TPDU: 0040029022f
0
Raw reply data: 000040029022f0
Sending reply...
Waiting for event (power: on, protocol: t=1)...
Raw event data: 03
Event: VCAD_EC_POWER_OFF (0x03)
Reply: VCAD_SC_OK (0x00) (in reply to VCAD_EC_POWER_OFF)
Raw reply data: 00
Sending reply...
Waiting for event (power: off, protocol: unknown/undefined)...
</font>>
If someone know how to use this function or have any advice to help me to select a specific protocol with Jcop API, please let me know.
If you you need any more information don't hesitate to ask.
Best regards
Edited by: Cyril on Sep 22, 2011 9:54 AM-1
I'm using a virtual terminal (windows driver), and I don't see how I could turn off the Auto-pps. I've also tried with a real reader and a card and I have the same error.
-2
I've tried value in the range of the atr (based on this analysis: [url http://smartcard-atr.appspot.com/parse?ATR=3b909580811fc7dc]http://smartcard-atr.appspot.com/parse?ATR=3b909580811fc7dc ). But I don't know if only I value of baud-rate is possible in the range. Anyway I just would like to change the protocol, not the baud-rate.
-3
I've already tried to call pps function before, after the first reset, or with another reset later and I always got the same thing.
term = (PCSCJCTerminal)JCTerminal.getInstance("PCSC", readers.get(0).toString().substring(15));
term.open();
System.out.println("\nTerminal opened");
//Getting the ATR
atr = new ATR(term.waitForCard(2000));
System.out.println("ATR: "+toHex(atr.getBytes()));
jcard = new JCard(term,atr,0);
jcard.reset();
try {
term.pps(JCTerminal.PROTOCOL_T0, (int)312500);
} catch (Exception e) {
e.printStackTrace();
}The same pps is always send after each reset... -
How to remove all the cleaup events from DBA_AUDIT_MGMT_CLEAN_EVENTS
Dear gurus,
how to remove all the cleaup events from DBA_AUDIT_MGMT_CLEAN_EVENTS
ArunHi,
Take a look:
http://www.morganslibrary.org/reference/pkgs/dbms_audit_mgmt.html
Regards, -
I own multiple systems. I have hardened one browser following the guideline provided by CISecurity. Instead of repeating all the configurations performed on that one system, can I just copy all the ".js" files from the secured system to my other systems?
The ".js" files can be modified using a text editor. Is there a way to lock down these files to prevent modification?Dear Joel
i know two ways to prevent browser from caching your files
First : The Hard way
just add ? +Math.random() in the end of your file
Like this :
in HTML :
<script type="text/javascript">
(function(){
var e = document.getElementsByTagName("script")[0];
var d = document.createElement("script");
d.src = "index_edgePreload.js?"+Math.random()+"";
d.type = "application/javascript";
d.async = true;
d.defer = true;
e.parentNode.insertBefore(d,e);
</script>
instead of this Line in HTML that created by EA :
<script type="application/javascript" src="index_edgePreload.js></script>
Disadvantage : you should do this for all of files you want to prevent from caching
===================================================
Second : The easyest way
You Should have Access to .htaccess file in your Server
Open your .htaccess file and paste these codes in it :
ExpiresActive On
ExpiresByType application/json "access plus 1 seconds"
ExpiresByType text/json "access plus 1 seconds"
ExpiresByType text/plain "access plus 1 seconds"
ExpiresDefault "access plus 1 month"
you can type what ever type of file you want to prevent from caching in browser
Advantage : after do this in your .htaccess file all files with the type you want will not Cache in your browser
Easy is'nt it ?
Zaxist -
Removing all the hidden data from photos
If I export a photo to share, I often want to remove all the extra hidden stored data such as date taken exposures etc. Is this easy?
RodHi rod,
By accident I found that a little app I use (ImageWell) to add connotations and text to my screenshots also strips most if not all the EXIF data from an image that you drag out of the Image well.
I just checked it out again. I dragged an image into the well, changed the name of the image and dragged it out. The EXIF data was gone when I opened it with Preview and did Tools/Get info.
ImageWell -
When I share a pages document as a PDF (via e-mail) all the pictures change from the original document, most are missing with just a few of them repeated in the spots where others had been. How do I do this without the document changing?
I need to be able to send it to a PC in order to print it.Hard to say what is happening without examining the file.
If you like click on my blue name and email me both the .pages file and the the .pdf you have made from it.
Peter
ps It would help to say what version of Pages you are using and on what you are running it. iOS or Mac and what version. -
Hello people from the forum,
I have made a beatifull website, and upload it with filezilla to a server, and also I upload it to a local map.
Everthing was going very well, but i don't get my website on the internet, because one page will not be uploaded (again) and that is my first page, the home page (and for as far I understand also my index.html)
I web telling all the time: can not publish this page because there is an unknown error.
The strange thing is, that I can see, even on the local map as on the online server, that my home page is still there!
the size of the index.html is 303 kb (and when I open it, it is empty, but maybe thats normal?)
And yes, I did a lot of stupide things, by accident I deleted a lot of files and documents on my computer :-((
I reinstall Iweb (3.04) but the error is still there.
So, do I have to reinstall OS lion totaly? But them I i'm afraid that I lost all my webpages (even they are on the server now)
(can I put all on a USB stick, and make later again a new homepage?)
I hope one of you recognize this problem and have a more simpeler solution than my story here above.
Sorry for my english, I hope you understand.Hello Wyodor,
thanks for your reply on my question.
You are wright the index file is 308 KB.
And offcourse that I delete my files and documents is not an Iweb problem, but because my English is not that good, that I thougt I try to tell the whole story, and hope people can read trough the lines.
Why I didn't use Iweb to upload to the server is because the server company recommanded to use file zilla. And I am a nobody with this kind of things, so I did exactly what they tell me to do.
No, i did not make a backup of Iweb and the domain file, but reading other messages on this forum showed me that I can maybe try to make empty the cashfile (?)
and otherwise I have bad luck and have to make my website again. Offcourse I have a lot of examples from all the pages (copied from the local map to my USB stick) and my website is aprox. 15 Mb, (not so big) so it will cost me a few nigths.
But I'm still hoping on a miracle :-)
greetings Lasource
Maybe you are looking for
-
Macbook pro "Desktop and screensaver" missing
I don't know how this actually happened. But one day I was tired of my screensaver and went to go change it. So when I clicked on system preferences I noticed the "Desktop and screensaver" pane missing. I don't even know how long it's been like this.
-
Envy 17-j051ei ssd compatibility list?
Hi Could you please post a list of compatible SSD's including which HP recommends. Kind regards This question was solved. View Solution.
-
Business area activation of previous year
Hi, How can I activate the business area in last 3 years transitions? Actually in our company code right now they are planning to activate the business area. Once they could create the business area how to set the configuration of last 3years trans
-
How -using Terminal- can I copy all files (hidden and not hidden) and folders (and their contents) from one place to another
-
Information on Weblogic support for TANDEM
Dear all, I would like to know whether Weblogic supports Tandem with Guardian OS. I need to integrate applications in TANDEM, IBM OS/390 and Windows OS. Please let me know if this possible. Regards, Virinchi K V N